package com.lu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lu.model.entity.SysStore;
import com.lu.model.request.StoreAddRequest;
import com.lu.model.request.StoreQueryRequest;

import java.io.InputStream;
import java.util.List;

/**
 * <p>
 * 门店 服务类
 * </p>
 *
 * @author currentCodeAuthor
 * @since 2022-07-31
 */
public interface SysStoreService extends IService<SysStore> {

  Page<SysStore> pageList(StoreQueryRequest request);

  List<SysStore> storeList(StoreQueryRequest request);

  Long addStore(StoreAddRequest request);

  SysStore updateStore(SysStore store);

  String delete(Long id);

  List<String> importStore(String originalFilename, InputStream inputStream);

  List<SysStore> loginUserOfflineStores();

}
